﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace NextInventory.Model.User
{
    public class LoginModel : BaseViewModel
    { 
        [Required(ErrorMessage = "Please enter user name to log in")]
        [Display(Name = "User name:")]
        public String UserName { get; set; }

        [Required(ErrorMessage = "Please enter password")]
        [Display(Name = "Password")]
        [DataType(DataType.Password)]
        public String Password { get; set; }

        [Display(Name = "Remember me?")]
        public bool RememberMe { get; set; }
    }
}
